//
//  YZMBankCardService.h
//  YZMicroStock
//
//  Created by wangminhong on 16/3/22.
//  Copyright © 2016年 cqjr. All rights reserved.
//

#import <Foundation/Foundation.h>

@class YZMProvince;

@interface YZMBankCardService : NSObject

@property (nonatomic, strong, readonly) NSArray *provinceList;
@property (nonatomic, strong, readonly) NSDictionary *cityDictionary;
@property (nonatomic, strong) NSArray *bankList;

+ (instancetype)sharedService;
- (void)initBankInfo;
- (void)fetchBankListSuccess:(void (^)())sucess failure: (void (^)(NSError *error))failure;


/**
 *  获取省份下的城市列表
 *
 *  @param province 省份
 *
 *  @return 城市列表
 */
- (NSArray *)fetchCityListForProvince:(YZMProvince *)province;

- (NSString *)formatBankCardWithHide:(NSString *)bankCard;

@end
